/**
 * 常用的样式组合
 */
import { css } from '@emotion/react'

export const flexCenter = css`
  align-items: center;
  display: flex;
  justify-content: center;
`

export const flexCol = css`
  display: flex;
  flex-direction: column;
`

export const fullAbsolute = css`
  bottom: 0;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
`

export const breakWord = css`
  word-break: break-all;
  word-wrap: break-word;
`

export const ellipsis = css`
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
`
